<template>
    <div style="background-color: darksalmon;">
        {{ msg }}
    </div>
</template>

<script>
export default{
    setup(){
        return new Promise((resolve)=>{
            setTimeout(()=>{
                resolve(
                    {
                        msg:'hello,让你久等了!'
                    }
                )
            },3000)
        })
    }
}
</script>